/* 初始化 */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    width: 100%;
    font-size: 10px;
}

body {
    width: 100%;
    height: 100vh;
    background-color: rgb(223, 151, 207);
}

ul li {
    list-style: none;
}

.wrap {
    position: relative;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
}

/* 输入框 */
.wrap .create_thing {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 40px;
}
.wrap .create_thing .underline{
    width: 100%;
    height: 2px;
    transform-origin: center;
    transform: scaleX(0);
    box-shadow: 0px 0px 0px 0px rgb(255, 164, 235);
    background-color: rgb(255, 42, 209);
    transition: transform 1s ease 0s, box-shadow 1s ease 0s;
}
.wrap .create_thing .input_thing {
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
    text-indent: 2rem;
    color: #000;
    border: 0px;
    background-color: transparent;
    outline: none;
}

.wrap .create_thing .input_thing:focus + .underline {
    transform: scaleX(1);
    box-shadow: 0px -8px 20px 7px rgb(255, 164, 235);
    transition: transform 1s ease 0s, box-shadow 1s ease 0s;
}

/* 事件列表 */
.wrap .things {
    position: relative;
    left: 50%;
    width: 550px;
    transform: translateX(-50%);
}

.wrap .things .things_lists li {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 1rem;
    border-radius: 15px;
    transform: scaleX(1);
    background-color: rgb(240, 124, 168);
    animation: thingsLiScale 1s ease 0s forwards;
}
@keyframes thingsLiScale{
    0%{
        opacity: 0;
        transform: scaleX(0);
    }
    100%{
        opacity: 1;
        transform: scaleX(1);
    }
}
.wrap .things .things_lists .li_scale{
    animation: thingsLiScaleDel 1s ease 0s forwards;
}
@keyframes thingsLiScaleDel{
    0%{
        position: absolute;
        opacity: 1;
        height: 80px;
        transform: scaleY(1) translate(0px, 0px);
    }
    100%{
        position: absolute;
        opacity: 0;
        height: 0px;
        transform: scaleY(0) translate(100px,-200px);
    }
}

.wrap .things .things_lists li:hover {
    box-shadow: 0px 0px 20px -5px rgb(111, 2, 255);
}

.wrap .things .things_lists li .check{
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    padding: 0px 0px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
}

.wrap .things .things_lists li .check span {
    position: relative;
    top: -24px;
    left: 2px;
    font-size: 2.5rem;
    line-height: 20px;
    text-align: center;
    color: rgb(255, 31, 154);
    opacity: 0;
    transition: opacity 1s ease 0s;
    cursor: pointer;
}

.wrap .things .things_lists li .check input{
    width: 100%;
    height: 100%;
    opacity: 0;
}

.wrap .things .things_lists li .check input:checked + span {
    opacity: 1;
    transition: all 1s ease 0s;
}

.wrap .things .things_lists li .content{
    margin: 17px;
    margin-left: 40px;
    width: 440px;
    font-size: 1.5rem;
    text-indent: 2rem;
}

.wrap .things .things_lists li .del_lists{
    position: absolute;
    top: 50%;
    left: 88%;
    transform-origin: center;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    color: rgb(251, 255, 0);
    border: 0px;
    border-radius: 50%;
    background-color: rgb(255, 131, 199);
    cursor: pointer;
}

.wrap .things .things_lists li .del_lists:hover {
    color: rgb(255, 0, 0);
    box-shadow: 0px 0px 20px -5px rgb(255, 0, 0);
    background-color: rgb(255, 174, 220);
    animation: delListsScale 1s ease 0s backwards;
}
@keyframes delListsScale {
    0%{
        transform: translateY(-50%) scale(1, 1);
    }
    40%{
        transform: translateY(-50%) scale(1.5, 1.5);
    }
    50%{
        transform: translateY(-50%) scale(1.2, 1.2);
    }
    90%{
        transform: translateY(-50%) scale(1.5, 1.5);
    }
    100%{
        transform: translateY(-50%) scale(1.1, 1.1);
    }
}

/* 记数 */
.wrap .counte{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0px;
    padding: 0px 10px;
    width: 550px;
    height: 40px;
    border-radius: 15px;
    box-shadow: 0px 0px 25px -15px rgb(111, 2, 255)
}

.wrap .counte .counte_box {
    margin-left: 20px;
    padding-top: 15px;
    font-size: 1.2rem;
}

.wrap .counte .counte_box .whole {
    margin-top: -4px;
    margin-right: 10px;
    font-size: 1.6rem;
}

.wrap .counte .counte_box span {
    display: block;
}

.wrap .counte .counte_box span,
.wrap .counte .counte_box .done_box {
    float: left;
}

.wrap .counte .counte_box .total {
    position: relative;
    top: -2px;
    margin: 0px 5px;
    font-size: 1.7rem;
}

.wrap .counte .counte_box .done_box {
    overflow: hidden;
    position: relative;
    margin: 0px 5px;
    height: 23px;
}

.wrap .counte .counte_box .done,
.wrap .counte .counte_box .done2 {
    position: relative;
    font-size: 1.7rem;
    text-align: center;
}

.wrap .counte .counte_box .done {
    top: -3px;
}

.wrap .counte .counte_box .done2 {
    top: 1px;
}

.wrap .counte .del_done {
    position: absolute;
    top: 50%;
    left: 78%;
    transform: translateY(-50%);
    width: 110px;
    height: 30px;
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    border: 0px;
    border-radius: 15px;
    background-color: rgb(252, 111, 188);
    cursor: pointer;
    transition: color 1s ease 0s, background-color 1s ease 0s, border-radius 1s ease 0s;
}
.wrap .counte .del_done:hover {
    color: rgb(255, 255, 255);
    border-radius: 20px;
    background-color: rgb(255, 40, 158);
    transition: all 1s ease 0s;
}

.wrap .counte .check{
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
}

.wrap .counte .check span {
    position: absolute;
    top: -6px;
    left: 1px;
    font-size: 2.5rem;
    color: rgb(255, 31, 154);
    opacity: 0;
}

.wrap .counte .check input{
    width: 100%;
    height: 100%;
    opacity: 0;
}

.wrap .counte .check input:checked + span {
    opacity: 1;
}